package com.heima.apis.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: CL
 * @Date: 2023-07-12   7:03
 * @Description:
 */
@FeignClient(value = "leadnews-wemedia",contextId = "x3")
public interface IWmUserClient {

    @PostMapping("/api/v1/auth/authPass")
    ResponseResult authPass(@RequestBody WmUser user);

}
